Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: JManager Reference /
Chapter 1 - JManager Reference / Application-Defined Functions
/


MySetUpPort

Sets up the graphics port. When creating a frame, you must designate a callback function to set up a graphics port (GrafPort) associated with it. For example, this is how you would define your port setup function if you were to name it MySetUpPort:

void* MySetUpPort (JMFrameRef frame);
frame
The frame that wants the port.
function result
Defined by the client application. You can return any value depending on how you want to use the graphics port.
DISCUSSION
You cannot nest this function.

Previous Book Contents Book Index Next

© Apple Computer, Inc.
13 DEC 1996




Navigation graphic, see text links

Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help